package com.isorf.service;

import com.github.pagehelper.PageInfo;
import com.isorf.pojo.User;

import java.util.List;

public interface UserService {
    List<User> userList();

    int updateDisable(int id);


    PageInfo<User> pageList(int pageNum, int pageSize);

    User findByUserName(String username);

    boolean register(User user);
}
